package com.stiove.whwh.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stiove.whwh.dao.pojo.Ticket;
import com.stiove.whwh.dao.pojo.TicketImg;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface TicketImgMapper extends BaseMapper<TicketImg> {
    @Update("update ticket_img SET delete_time = #{time} where ticket_id = #{id}")
    public int deleteByTicketId(int id,long time);
}
